[#ftl]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="${base}/css/date.css" />
<link rel="stylesheet" type="text/css" href="${base}/css/base.css" />
<link rel="stylesheet" type="text/css" href="${base}/css/form.css" />
<link rel="stylesheet" type="text/css" href="${base}/commonjs/ztree/css/zTreeStyle/zTreeStyle.css" />
<link rel="stylesheet" type="text/css" href="${base}/commonjs/artDialog6/ui-dialog.css" />

<script type="text/javascript" src="${base}/commonjs/jquery1.7.2/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="${base}/commonjs/jquery-forms.js"></script>
<script type="text/javascript" src="${base}/commonjs/artDialog6/dialog-plus-min.js"></script>
<script type="text/javascript" src="${base}/commonjs/ztree/js/jquery.ztree.all-3.5.min.js" ></script>
<script type="text/javascript" src="${base}/commonjs/noty/jquery.noty.packaged.min.js"></script>
<script type="text/javascript"  src="${base}/commonjs/mypager.js"></script>
<script type="text/javascript" src="${base}/commonjs/message/message.js"></script>
<script type="text/javascript" src="${base}/commonjs/datepicker/WdatePicker.js"></script>
<script type="text/javascript" src="${base}/commonjs/tab/tabs.js"></script>
<script type="text/javascript" src="${base}/commonjs/datatable/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="${base}/commonjs/jquery-validation/jquery.validate.min.js" ></script>
<script type="text/javascript" src="${base}/commonjs/jquery-validation/localization/messages_zh.js" ></script>
</head>
<body>
						 <div id="tblReuslt" class="mb10 center">
						  <form id="queryForm" method="post">
						  <input type="hidden" name="dictId" id="dictId" value="${dictId}">
						  <div class="date_table_3 tc">
							<table class="mt10 ml10" style="width:100%;" id="rateTable" border="0" cellspacing="0" cellpadding="0">
							   <thead>
									<tr>
										<th class="color_2 tab_bt" >
										名称										
										</th>
										<th class="color_2 tab_bt" >
										代码										
										</th>
										<th class="color_2 tab_bt" >
										值										
										</th>
										<th class="color_2 tab_bt" >
										次序										
										</th>
										<th class="color_2 tab_bt" >
																				
										</th>
									</tr>
							</thead>
							<tbody>		
							[#if dictItems??]
							   [#list dictItems as item]										
									<tr>
									    <input type="hidden" value="${item.id!}">										
										<td class="br tab_bt editselect" ondblclick="editItem(this);">
										${item.name!""}
									    </td>
	                                    <td class="br tab_bt editable" ondblclick="editItem(this);">
	                                    ${item.code!""}
									    </td>
										
										<td class="br tab_bt editable tr" ondblclick="editItem(this);" >
										${item.value!""}
									    </td>
										
										<td class="br tab_bt editable tr" ondblclick="editItem(this);">
										${item.showOrder!""}
									    </td>
										<td  class="br tab_bt">
										<a href="javaScript:void(0);" onclick="saveEdit(this)">保存</a>
										<a href="javaScript:void(0);" onclick="deleteY(${item.id!},1)">删除</a>
									    </td>										
									</tr>
								[/#list]
							 [/#if]
							 <tr id="addItem" class="none">
								<td class="br tab_bt tr"><input type="text"  name="name" id="name"   class="required input_1"/></td>
								<td class="br tab_bt tr"><input type="text"  name="code" id="code"   class="required input_1"/></td>
								<td class="br tab_bt tr"><input type="text"  name="value" id="value"   class="required input_1"/></td>
								<td class="br tab_bt tr"><input type="text"  name="showOrder" id="showOrder"  class="required input_1" /></td>
								<td  class="br tab_bt">
										<a href="javaScript:void(0);" onclick="saveAdd(this)">保存</a>
										<a href="javaScript:void(0)" onclick="cancelAdd(this)">取消</a>
								</td>
							</tr>
							  </tbody>
							</table>
							</div>
						 </form>	
					</div>